package com.mongodb.demo;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author zhangbowen@heytea.com
 * @since 2020-01-02 09:35
 */
@Data
@Document(collection = "map_data")
public class MapData {
    @Id
    private String id;

    private CustomGeoJson geometry;
}
